var runtime.newmHandoff
21 uses
runtime (current package)
proc.go#L2710: var newmHandoff struct {
proc.go#L2763: lock(&newmHandoff.lock)
proc.go#L2764: if newmHandoff.haveTemplateThread == 0 {
proc.go#L2767: mp.schedlink = newmHandoff.newm
proc.go#L2768: newmHandoff.newm.set(mp)
proc.go#L2769: if newmHandoff.waiting {
proc.go#L2770: newmHandoff.waiting = false
proc.go#L2771: notewakeup(&newmHandoff.wake)
proc.go#L2773: unlock(&newmHandoff.lock)
proc.go#L2821: if !atomic.Cas(&newmHandoff.haveTemplateThread, 0, 1) {
proc.go#L2848: lock(&newmHandoff.lock)
proc.go#L2849: for newmHandoff.newm != 0 {
proc.go#L2850: newm := newmHandoff.newm.ptr()
proc.go#L2851: newmHandoff.newm = 0
proc.go#L2852: unlock(&newmHandoff.lock)
proc.go#L2859: lock(&newmHandoff.lock)
proc.go#L2861: newmHandoff.waiting = true
proc.go#L2862: noteclear(&newmHandoff.wake)
proc.go#L2863: unlock(&newmHandoff.lock)
proc.go#L2864: notesleep(&newmHandoff.wake)
proc.go#L5295: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |